package cn.interfacehomework01;

public class Test {

        public static void main(String[] args) {

            UseCompute uc= new  UseCompute();
            uc.useCom(new Add(), 4, 1);
            uc.useCom(new Sub(), 9, 3);
            uc.useCom(new Mul(), 2, 4);
            uc.useCom(new Div(), 16, 4);
        }
    }

